package com.owen.spring.cloud.seata.at.service.feign;

import com.owen.spring.cloud.seata.at.entity.feign.AccountTbl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("seata-at-common")
public interface CommonFeign {

    @PostMapping("/account/save")
    AccountTbl save(@RequestBody AccountTbl accountTbl);

}
